//
//  JSBaseTableViewController.h
//  NiubilityProject
//
//  Created by Apple on 2017/11/14.
//  Copyright © 2017年 Apple. All rights reserved.
//

#import <QMUIKit/QMUIKit.h>
#import "UIScrollView+EmptyDataSet.h"
#import "JSBaseDataService.h"
@interface JSBaseTableViewController : QMUICommonTableViewController <DZNEmptyDataSetSource,DZNEmptyDataSetDelegate,JSBaseDataServiceDelegate>


@property (nonatomic, strong) JSBaseDataService *dataService;

/** 数据源*/
@property (nonatomic, strong) NSMutableArray *dataSource;
/** 页 */
//@property (nonatomic, assign) NSInteger page;
///** 方法名 必传 */
//@property (nonatomic, strong) NSString *mouth;
///** 参数 */
//@property (nonatomic, strong) NSMutableDictionary *params;
///** 每页默认条数 */
//@property (nonatomic, assign) NSInteger pageNumber;
/** 请求到数据回调 */
@property (nonatomic, copy) JSDataCallBack requestDataHandle;
/**隐藏头部刷新*/
@property (nonatomic, assign)   BOOL isHidenHeaderRefresh;
/**隐藏脚部加载更多*/
@property (nonatomic, assign)   BOOL isHidenFooterRefresh;
/** 下拉刷新 需要子类主动调用*/
-(void)headerRefresh;
/**
 *  子类重写加载数据方法
 *  重写后需要自己管理请求参数和数据回调
 */
//-(void)loadData:(BOOL)isNewData;
/**
 * 上拉加载判断
 */
-(void)footerRefreshType;
/*!
 提示语
 
 
 */
- (void)showMessage:(NSString *)msg;
-(BOOL)isShowLoadingState;
-(BOOL)isExecuteCellAnimation;
@end
